<%= content_for :pane2 do %>
    <%= render :partial => 'users/user_index' %>
<% end %>
<script type="text/javascript">
    window.location = '#pane2'
</script>